Compile-time scheduling with resource-constraints

نویسندگان

  • Greet Bilsen
  • Rudy Lauwereins
  • Jean A. Peperstraete
چکیده

Most tasks in DSP-applications require multiple resources for their execution. If only CPU-usage is considered while constructing a static schedule, the actual run-time performance of the application can differ a lot from the predicted one. In this paper we present a scheduling method that takes non-CPU resourcerequirements into account as well while constructing the static schedule. Situation of the problem. Most Digital Signal Processing (DSP) applications have to operate at very high sample-rates (order of MHz), such that static schedules are required to obtain real-time performance. Such static schedules are mostly automatically produced by CAD-tools [3], [5], [6], [7]. Most of these tools consider CPU-usage to determine a “time-optimal” task-execution order at compile-time. Once the order is fixed, code is generated and downloaded on the processor hardware for execution. During the execution of such a schedule however, it is quite possible that the actual performance differs a lot from what was predicted by the static schedule. First it is possible that the run-time makespan far exceeds the estimated one. This might be caused by wrong timingestimates for the tasks in the application. When the estimate supposes e.g. the use of internal memory to store program-code and data, while the actual task uses external memory, the real execution-time greatly exceeds the estimated one. But even if all estimates of executiontimes are accurate, the actual makespan can still differ a lot from the predicted one. This happens when multiple tasks try to access a shared device like e.g. a communication-link or a shared bus at the same time. In this case only one task gets access to the device while the others have to wait until it is released again. Such contention-delays are not counted for in a classically constructed static schedule. Besides those timing-aspects, also other surprises can arise while trying to execute the schedule. When too many tasks are assigned to the same device, the total amount of memory required can exceed the available amount. In this case we do not even succeed in downloading the code on the multi-processor board and the actual execution can never start. Another problem arises when the same hardware FIFO-buffer is used for communication between multiple tasks. When the first write-operation corresponds e.g. with the communication between two tasks A and B, while the first scheduled readoperation delivers data to a task C, the application will behave incorrectly. Resource-constraint scheduling in GRAPE-II. To avoid these problems and to guarantee that the static schedule we produced behaves as we expected, we have to take resource-requirements into account. In GRAPE-II (Graphical RApid Prototyping Environment) [l], [2], [4] this is done by representing all resourcerequirements as separate tasks that need to be assigned to the different resources. Every user-task then corresponds to a cluster of subtasks, one for each associated resourcerequirement. During assignment an entire task-cluster is assigned to a cluster of devices. The router adds communication-tasks, wherever data need to be transported. And finally in the scheduler all subtasks are ordered on their devices. To preserve the timing-relations between related subtasks, all subtasks belonging to the same task-cluster are placed together, taking into account their internal timing-relations as well as the load on the devices they have to be executed on. Depending on the nature of the resource-requirement, three types of resource-subtasks are distinguished. 153 1060-3425/95$4.00

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

SINGLE MACHINE DUE DATE ASSIGNMENT SCHEDULING PROBLEM WITH PRECEDENCE CONSTRAINTS AND CONTROLLABLE PROCESSING TIMES IN FUZZY ENVIRONMENT

In this paper, a due date assignment scheduling problem with precedence constraints and controllable processing times in uncertain environment is investigated, in which the basic processing time of each job is assumed to be the symmetric trapezoidal fuzzy number, and the linear resource consumption function is used.The objective is to minimize the crisp possibilistic mean (or expected) value of...

متن کامل

The preemptive resource-constrained project scheduling problem subject to due dates and preemption penalties: An integer programming approach

Extensive research has been devoted to resource constrained project scheduling problem. However, little attention has been paid to problems where a certain time penalty must be incurred if activity preemption is allowed. In this paper, we consider the project scheduling problem of minimizing the total cost subject to resource constraints, earliness-tardiness penalties and preemption penalties, ...

متن کامل

A novel mathematical model for a hybrid flow shop scheduling problem under buffer and resource limitations-A case study

Scheduling problems play a big role in manufacturing and planning the production for increasing the production efficiency and assigning the resources to operations. Furthermore, in many manufacturing systems there is a physical space between stages that called intermediate buffers. In this study, a model is proposed for minimizing the makespan of a hybrid flow shop scheduling problem with inter...

متن کامل

A Genetic Algorithm and a Model for the Resource Constrained Project Scheduling Problem with Multiple Crushable Modes

Abstract: This paper presents an exact model and a genetic algorithm for the multi-mode resource constrained project scheduling problem with generalized precedence relations in which the duration of an activity is determined by the mode selection and the duration reduction (crashing) applied within the selected mode. All resources considered are renewable. The objective is to determine a mode, ...

متن کامل

Project scheduling optimization for contractor’s Net present value maximization using meta-heuristic algorithms: A case study

Today's competitive conditions have caused the projects to be carried out in the least possible time with limited resources. Therefore, managing and scheduling a project is a necessity for the project. The timing of a project is to specify a sequence of times for a series of related activities. According to their priority and their latency, so that between the time the project is completed and ...

متن کامل

A multi-objective resource-constrained optimization of time-cost trade-off problems in scheduling project

This paper presents a multi-objective resource-constrained project scheduling problem with positive and negative cash flows. The net present value (NPV) maximization and making span minimization are this study objectives. And since this problem is considered as complex optimization in NP-Hard context, we present a mathematical model for the given problem and solve three evolutionary algorithms;...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1995